package com.supper.star.evaluate.controller;

import com.supper.star.evaluate.util.Message;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 测试数据控制层
 * @author yjq
 * @date 2018/10/24
 */
@Controller
@RequestMapping("/")
public class TestController {

    @Autowired
    TestService testService;

    @ApiOperation(value = "测试用例", notes = "测试一下测试一下测试一下。" )
    @RequestMapping(value = "/", method = RequestMethod.GET)
    @ResponseBody
    public Message test(){
        return testService.test();
    }

}
